Skip to content

e2e: enable creating VMs up to 4096 CPUs and CPU hot-plugging/removing from test scripts - #587

Merged
klihub merged 3 commits into
containers:mainfrom
askervin:5e5-e2e-4kcpu
Jan 13, 2026
Merged

klihub merged 3 commits into
containers:mainfrom
askervin:5e5-e2e-4kcpu

Conversation

@askervin

Copy link
Copy Markdown
Collaborator

No description provided.

cpus-present enables creating virtual machines with different
numbers of possible and enabled CPUs. CPUs that are possible
but not enabled can be hot-plugged when the virtual machine is
running.

q35 machine, irq split and x2apic are required for hot-plugging CPUs
with id >= 256. In case of "separated_output_vars", they are now
printed in place of former "CPU:" parameter. This moves Qemu "-cpu"
parameter management to topology2qemuopts while it used to be
hardcoded "-cpu host" in Vagrantfile.in. Finally, new "SMP:" parameter
printing is added for "-smp" parameters.

Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
@klihub
klihub requested review from fmuyassarov and kad December 19, 2025 07:48
@klihub
klihub requested a review from marquiz January 7, 2026 08:45
@klihub

klihub commented Jan 13, 2026

Copy link
Copy Markdown
Collaborator

@kad @marquiz ping

@klihub

klihub commented Jan 13, 2026

Copy link
Copy Markdown
Collaborator

@marquiz Is you approval of #591(which is stacked on this) an implicit approval of this PR, too ?

@marquiz marquiz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@klihub
klihub merged commit 834da49 into containers:main Jan 13, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants